//
//  Contact.h
//  04-集合(二)NSDictionary
//
//  Created by LL.F on 16/7/7.
//  Copyright © 2016年 LL.F. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Contact : NSObject
{

    NSString *_name;
    NSString *_gender;
    NSString *_phoneNumber;
    NSString *_address;
    NSString *_groupName;
    NSUInteger _age;//不用NSInteger 因为age不能为负数
}

@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *gender;
@property (nonatomic, retain) NSString *phoneNumber;
@property (nonatomic, retain) NSString *address;
@property (nonatomic, retain) NSString *groupName;
@property (nonatomic, assign) NSUInteger age;

- (instancetype)initWithName:(NSString *)name
                 phoneNumber:(NSString *)phoneNumber;
- (void)showContact;
@end
